package com.tanqing.ddd.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@SpringBootApplication
@ComponentScan("com.tanqing.ddd.**")
@MapperScan("com.tanqing.ddd.web.mapper")
public class App 
{
    public static void main( String[] args )
    {

        SpringApplication.run(App.class);
//        System.out.println( "Hello World!" );
    }
}
